package com.hhkj.admin.student.service.base.impl;
import com.hhkj.admin.student.domain.Student;
import com.hhkj.admin.student.domain.StudentCourseTrainCount;
import com.hhkj.admin.student.mapper.TrainCountMapper;
import com.hhkj.admin.student.service.base.TrainCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * 学员批次管理Service业务层处理
 *
 * @author ruoyi
 * @since 2023-05-23
 */
@Service
public class TrainCountServiceImpl implements TrainCountService {
    @Autowired
    private TrainCountMapper trainCountMapper;

    /**
     * 查询学员
     * （不查询未审核状态的学员）
     *
     * @param countParam 传参
     * @return 学员
     */
    @Override
    public List<Student> selectStudentList(StudentCourseTrainCount countParam) {
        return trainCountMapper.selectStudentList(countParam);
    }
}
